package com.autumn.sms.service.entities;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 标准模板
 * 
 * @author 老码农
 *
 *         2018-01-12 09:53:38
 */
@Table(name = "standard_template")
public class StandardTemplate extends AbstractSmsTemplate<StandardTemplateParameter> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6666922096203488386L;

	/**
	 * 是否限制发送频率
	 */
	@Column(name = "is_restrict")
	private boolean isRestrict;
	/**
	 * 发送频率间隔秒
	 */
	private Integer restrictSeconds;
	/**
	 * 是否是短信验证码
	 */
	@Column(name = "is_verification_code")
	private boolean isVerificationCode;
	/**
	 * 短信验证码类型
	 */
	private Integer verificationCodeType;

	/**
	 * 短信验证有效时间
	 */
	private Integer verificationEffectiveSeconds;

	public boolean getIsVerificationCode() {
		return isVerificationCode;
	}

	public void setIsVerificationCode(boolean isVerificationCode) {
		this.isVerificationCode = isVerificationCode;
	}

	public Integer getVerificationCodeType() {
		return verificationCodeType;
	}

	public void setVerificationCodeType(Integer verificationCodeType) {
		this.verificationCodeType = verificationCodeType;
	}

	public boolean getIsRestrict() {
		return isRestrict;
	}

	public void setIsRestrict(boolean isRestrict) {
		this.isRestrict = isRestrict;
	}

	public Integer getRestrictSeconds() {
		return restrictSeconds;
	}

	public void setRestrictSeconds(Integer restrictSeconds) {
		this.restrictSeconds = restrictSeconds;
	}

	public Integer getVerificationEffectiveSeconds() {
		return verificationEffectiveSeconds;
	}

	public void setVerificationEffectiveSeconds(Integer verificationEffectiveSeconds) {
		this.verificationEffectiveSeconds = verificationEffectiveSeconds;
	}
}
